<div id="header">
    <h1 class="logo"></h1>
    <div class="head_top">
        <h2>网站后台管理系统</h2>
        <ul class="account_exit">
            <li class="account"><a href="javascript:;"><span class="login_img"><img src="styles/images/login_img.gif" width="24" height="24" alt=""></span>&nbsp;&nbsp;{{LoginAdmin}}</a></li>
            <li><a href="javascript:;" class="exit" title="退出" ng-click="logout()">退出</a></li>
        </ul>
    </div>
</div>
<!--header end--> 
<!--wraper-->
<div id="wraper" class="clearfix"> 
    <!--sidebar-->
    <div id="sidebar">
        <div class="sideMenu">
            <ul class="menu_list">
                <li ng-class="{cur:(path == '/home/userlist' || path == '/home/userdeel')}"><a href="javascript:;" rel="title"><img src="styles/images/icon/user.png" width="16" height="14" alt="">&nbsp;用户及交易管理</a> 
                    <!--subMenu-->
                    <ul class="subMenu" style="display:{{(path == '/home/userlist' || path == '/home/userdeel')?'block;':''}}">
                        <li><a href="javascript:;" ng-if="rights.a1" ui-sref=".userlist" ui-sref-active="active">用户信息管理</a></li>
                        <li><a href="javascript:;" ng-if="rights.a2" ui-sref=".userdeel" ui-sref-active="active">资金流水记录</a></li>
                    </ul>
                    <!--subMenu end--> 
                </li>
                <li><a href="javascript:;" rel="title"><img src="styles/images/icon/invest.png" width="18" height="15" alt="">&nbsp;投资管理</a> 
                    <!--subMenu-->
                    <ul class="subMenu">
                        <li><a href="javascript:;" ng-if="rights.a4" ui-sref=".investmanage" ui-sref-active="active">投资记录查询</a></li>
                        <li><a href="javascript:;" ng-if="rights.a5" ui-sref=".invest_statistics" ui-sref-active="active">每日投资统计</a></li>
                        <li><a href="javascript:;" ng-if="rights.a6" ui-sref=".invest_manages" ui-sref-active="active">月存及月取计划管理</a></li>
                    </ul>
                    <!--subMenu end--> 
                </li>
                <li>
                	<a href="javascript:;" rel="title"><img src="styles/images/icon/invest.png" width="18" height="15" alt="">&nbsp;产品管理</a> 
                    <!--subMenu-->
                    <ul class="subMenu">
                        <li><a href="javascript:;" ng-if="rights.a3" ui-sref-active="active" ui-sref="home.productlist" >产品列表</a></li>
                    </ul>
                    <!--subMenu end--> 
                </li>
                <li><a href="javascript:;" rel="title"><img src="styles/images/icon/creditor.png" width="16" height="16" alt="">&nbsp;债权管理</a> 
                    <!--subMenu-->
                    <ul class="subMenu">
                        <li><a href="javascript:;" ng-if="rights.a8" ui-sref="home.rightsCheck" ui-sref-active="active">债权查询</a></li>
                        <li><a href="javascript:;" ng-if="rights.a9"  ui-sref-active="active" ui-sref="home.entering">录入债权</a></li>
                        <li><a href="javascript:;" ng-if="rights.a10" ui-sref="home.multiple" ui-sref-active="active">批量导入</a></li>
                        <li><a href="javascript:;" ng-if="rights.a11" ui-sref="home.repayment" ui-sref-active="active">债权还款计划查询</a></li>
                    </ul>
                    <!--subMenu end--> 
                </li>
            	<li><a href="javascript:;" rel="title"><img src="styles/images/icon/bring.png" width="16" height="13" alt="">&nbsp;撮合管理</a> 
                    <!--subMenu-->
                    <ul class="subMenu">
                        <li><a href="javascript:;" ng-if="rights.a13" ui-sref=".matching_fund_queue" ui-sref-active="active">待匹配资金队列</a></li>
                        <li><a href="javascript:;" ng-if="rights.a14" ui-sref=".toMatch" ui-sref-active="active">待匹配债权队列</a></li>
                        <li><a href="javascript:;" ng-if="rights.a15" ui-sref=".matching_invest_query" ui-sref-active="active">已匹配投资查询</a></li>
                        <li><a href="javascript:;" ng-if="rights.a16" ui-sref=".alMatch" ui-sref-active="active">已匹配债权查询</a></li>
                        <li><a href="javascript:;" ng-if="rights.a17" ui-sref=".reConfirm" ui-sref-active="active">匹配结果确认</a></li>
                        <li><a href="javascript:;" ng-if="rights.a18" ui-sref=".reSearch" ui-sref-active="active">匹配结果查询</a></li>
                    </ul>
                    <!--subMenu end--> 
                </li>
                <li ng-class="{cur:(path == '/home/settlement' || path == '/home/oneclearing' || path == '/home/twoclearing' || path == '/home/balance')}"><a href="javascript:;" rel="title"><img src="styles/images/icon/settle.png" width="14" height="16" alt="">&nbsp;资金流水管理</a> 
                    <!--subMenu-->
                    <ul class="subMenu" style="display:{{(path == '/home/settlement' || path == '/home/oneclearing' || path == '/home/twoclearing' || path == '/home/balance' || path == '/home/cashAudit' || path == '/home/totalAccountLog')?'block;':''}}">
                        <li><a href="javascript:;" ng-if="rights.a21" ui-sref=".cashAudit" ui-sref-active="active">用户提现审批</a></li>
                        <li><a href="javascript:;" ng-if="rights.a22" ui-sref=".totalAccountLog" ui-sref-active="active">总账户资金流水记录</a></li>
                    </ul>
                    <!--subMenu end--> 
                </li>
                <li> <a href="javascript:;" rel="title"><img src="styles/images/icon/settle.png" width="14" height="16" alt="">&nbsp;借款申请管理</a>
                    <ul class="subMenu">
                        <li><a ui-sref="home.borrowlist" ng-if="rights.a23" ui-sref-active="active">借款申请列表</a></li>
                    </ul>
                </li>
                <li><a href="javascript:;" rel="title"><img src="styles/images/icon/refund.png" width="16" height="15" alt="">&nbsp;其他管理</a>
                    <ul class="subMenu">
                        <li><a href="javascript:;" ng-if="rights.a24" ui-sref=".messageManage" ui-sref-active="active">站内信管理</a></li>
                    </ul>
                </li>
                <li><a href="javascript:;" rel="title"><img src="" width="16" height="15" alt="">&nbsp;修改密码</a>
                    <ul class="subMenu">
                        <li><a href="javascript:;" ng-if="rights.a27" ui-sref=".changePassword" ui-sref-active="active">修改密码</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
    <!--sidebar end--> 
    <!--mainarea-->
    <div ui-view><div id="mainarea"></div></div>
    <!--mainarea end--> 
</div>
<script src="./scripts/libs/home.js" type="text/javascript"></script>